<!DOCTYPE html>
<html>

<head>
	<title>搜索 {$theme_vars.varName1|default=''} </title>
	<meta name="keywords" content="" />
	<meta name="description" content="">
	<include file="public@head" />
	<hook name="before_head_end" />
</head>

<body class="">
	<include file="public@nav" />
	<div class="container tc-main">
		<div class="row mt-5">
			<php>
				$where=function($query)use($keyword){
				$query->where('post.create_time','egt',0)->where('post.post_title','like',"%$keyword%");
				};
			</php>
			<portal:articles item="vo" where="$where" order="post.create_time DESC" page="10">
				<div class="col-lg-3 col-md-6 col-sm-6 col-6 full_wdth h-100">
					<div class="videoo">
						<div class="vcp_inf">
							<div class="vc_hd">
								<img src="{:cmf_get_image_url($vo.user.avatar)}" alt=""
									style="height: 60px !important; height: 60px !important;">
							</div>
							<div class="vc_info">
								<h4><a href="Single_Channel_Home.html" title="">{$vo.user.user_nickname}</a></h4>
							</div>
							<span class="vc-count">3</span>
						</div>
						<div class="vid_thumbainl">
							<a href="{:url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo['categories'][0]['id']))}"
								title="{$vo.post_title}">
								<div class="" style="height: 262px ;">
									<img src="__TMPL__/public/assets/images/default.gif" alt=""  data-src="{:cmf_get_image_url($vo.more.thumbnail)}"
										class="image card-img-top h-100 img-fluid lazyload">
								</div>
							</a>
						</div>
						<div class="video_info">
							<h3>
								<a href="{:url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo['categories'][0]['id']))}"
									title="{$vo.post_title}">
									{$vo.post_title}
								</a>
							</h3>
							<span>45K views .<small class="posted_dt">3 days ago</small></span>
						</div>
					</div>
				</div>




			</portal:articles>
			<div class="pagination">
				<page />
			</div>
		</div>
		<include file="public@footer" />
	</div>

	<include file="public@scripts" />
	<hook name="before_body_end" />
</body>

</html>